package io.renren.modules.generator.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.generator.dao.DeviceJpgDao;
import io.renren.modules.generator.entity.DeviceJpgEntity;
import io.renren.modules.generator.service.DeviceJpgService;



@Service("deviceJpgService")
public class DeviceJpgServiceImpl implements DeviceJpgService {
	@Autowired
	private DeviceJpgDao deviceJpgDao;
	
	@Override
	public DeviceJpgEntity queryObject(Integer id){
		return deviceJpgDao.queryObject(id);
	}
	
	@Override
	public List<DeviceJpgEntity> queryList(Map<String, Object> map){
		return deviceJpgDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return deviceJpgDao.queryTotal(map);
	}
	
	@Override
	public void save(DeviceJpgEntity deviceJpg){
		deviceJpgDao.save(deviceJpg);
	}
	
	@Override
	public void update(DeviceJpgEntity deviceJpg){
		deviceJpgDao.update(deviceJpg);
	}
	
	@Override
	public void delete(Integer id){
		deviceJpgDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		deviceJpgDao.deleteBatch(ids);
	}
	
}
